#ifndef KEY_GONFIG_H
#define KEY_GONFIG_H

#include "hdf_types.h"
#include "device_resource_if.h"

typedef struct {
    const char *keyName;
    uint32_t debounceTime;
    uint16_t gpioNum;
    uint8_t irqFlag;
    uint8_t devType;
} KeyConfig;

int32_t ParseKeyConfig(const struct DeviceResourceNode *node, KeyConfig *config);

#endif